package com.hg.design.structure.adapter.mine;

/**
 * @Auther: HG
 * @Date: 2021/3/5 17:02
 * @Description: 中国电力
 */
public class ChinaPower implements Power {
    private int voltage = 220;

    @Override
    public int getVoltage() {
        return this.voltage;
    }

    @Override
    public void plugIn() {
        System.out.println("欢迎使用中国电压" + this.voltage + "V");
    }
}
